<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改导航条</title>
<link rel="stylesheet" href="${base!}/css/navigation/main.css" />
<link rel="stylesheet" href="${base!}/css/zTreeStyle/demo.css" type="text/css"/>
<script type="text/javascript" src="${base!}/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" href="${base}/css/validationEngine.jquery.css" type="text/css"/>
<script type="text/javascript" src="${base}/js/jquery.validationEngine.js"></script>
<script type="text/javascript" src="${base}/js/jquery.validationEngine-zh_CN.js"></script>
<script type="text/javascript" src="${base}/js/jquery.blockUI.js"></script>
<link rel="stylesheet" href="${base}/css/zTreeStyle/zTreeStyle.css" type="text/css"/>
<script type="text/javascript" src="${base}/js/jquery.ztree.all-3.4.min.js"></script>
<script type="text/javascript" src="${base}/js/lhgdialog/lhgdialog.min.js"></script>
<script language="javascript">
var base='${base!}';
/*
 *提供导航管理界面的切换站点功能 
 */
function showMenu7(){
	var url = "url:${base}/channel/admin/getTreeApplication.htm";
	window.$.dialog({
		lock: true,
		content: url,
		title:'选择栏目',
		cancelVal: '关闭',
		width:'300px',
		height:'360px',
	    cancel: function(){
	    }
	});
};
/*
 * 取消
 */
function cancel(){
	window.location.href=base+"/channel/admin/getNavigationList.htm";//重新加载栏目管理界面
};
</script>
</head>

<body>
<div class="titbg02" style="left:0;width:100%">
</div>
<div class="clear"></div>
<form id="tableForm" name="tableForm" action="${base!}/channel/admin/savePriority.htm" method="post">
<div class="w100" id="right_c">
<table border="0" cellspacing="1" cellpadding="2" class="taball" style="margin-top: 35px;">
<tbody>
<tr>
	<th width="25%"><span class="red">*</span>所属导航位置:</th>
	<td width="25%">
	<input type="text"  class="w150" name="priority" value="${originalPriority!}" disabled="disabled"/>
	</td>
	<td width="20%" style="display:none">
	<input type="text"  class="validate[required] w150" name="channelId" value="${(originalNavigation.channelId)!}"  id="channelIdNa"/>
	</td>
	<th width="20%"><span class="red">*</span>栏目:</th>
	<td >
		<div style=" position: relative;">
		<input id="channelNameSel" readonly="readonly" type="text" class="validate[required]]" style="width:120px;" name="channelName" value="${(originalNavigation.channelName)!}"/>
		&nbsp;<a id="priorityButton" href="#" onclick="showMenu7(); return false; ">选择</a>
		</div>
	</td>
</tr>
<tr>
<td colspan="4" align="center">
	<input type="submit" class="btn01" value="保存"/> 
	<input type="button" class="btn01" value="取消" onclick="cancel()"/> 
	<input type="hidden" name="originalChannelId" value="${(originalNavigation.channelId)!}"/>
	<input type="hidden" name="priority" value="${originalPriority!}"/>
	<input type="hidden" name="newChannelName" id="newChannelName" />
</td>
</tr>
</tbody>
</table>
</div>
</form>
</body>
</html>
